package com.mooc.fuxi.ui.detail;

import com.mooc.fuxi.entity.NewsDetailEntity;
import com.mooc.fuxi.mvvm.BaseViewModel;

import io.reactivex.Observable;

public class NewsDetailViewModel extends BaseViewModel {
    public Observable<NewsDetailEntity> requestDetail(String newscode){
        return new NewsDetalModel().requestDetail(newscode);
    }
}
